"use strict";

module.exports = function (sequelize, DataTypes) {
    var Ratings = sequelize.define("Ratings", {
        level: {
            type: DataTypes.TEXT,
        },
        action: {
            type: DataTypes.TEXT,
        },
        type: {
            type: DataTypes.ENUM,
            values: ['thestreet', 'unset'],
            defaultValue: 'unset'
        },
        date: {
            type: DataTypes.DATE,
        }
    },
        {
            freezeTableName: true,
            paranoid: false
        });

    Ratings.associate = function (models) {

    }

    return Ratings;
};